/**
  * 重置样式
  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: #fff;
  font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
}

a,
a:hover {
  text-decoration: none;
}

ul,
ol,
dl,
li {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
  margin: 0;
}

input,
img,
button {
  display: block;
}

input,
button,
select {
  border: none;
  background: #fff;
}

/* 清理 type=number 浏览器自带的箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}

input[type="number"] {
  -moz-appearance: textfield;
}

a,
a:hover {
  display: block;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 行链接 */
.link-inline,
.link-inline:hover {
  display: inline;
}

/* 清理浮动 */
.clear-ft:after {
  content: "";
  display: block;
  clear: both;
}

/* 清理上下外边距 */
.clear-mg {
  content: "";
  display: table;
}

/* 左浮动 */
.g-lf {
  float: left;
}

/* 右浮动 */
.g-rt {
  float: right;
}

/* 一行溢出··· */
.clamp {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* 两行溢出··· */
.clamp-two {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 弹性布局水平两端对齐，垂直居中对齐 */
.flex-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* hover 放大过渡动画 start */
.hover-scale {
  transition: transform 0.4s;
  transform: scale(1);
  cursor: pointer;
}

.hover-scale:hover {
  transform: scale(1.1);
}

/* hover 放大过渡动画 end */